package com.manager.system.service;

import com.manager.common.vo.PageVO;
import com.manager.model.System_Role;
import net.sf.json.JSONArray;

import java.util.List;
import java.util.Map;

public interface RoleService {

    public PageVO getRoleList(System_Role model);

    public void addRole(System_Role model);

    public void updateRole(System_Role model);

    public JSONArray getMenuTree(System_Role model);

    public JSONArray getUserMenuByRoleId(String roleId);

    public JSONArray getUserMenuByUserId(String userId);

    public JSONArray getRoleTreeData();

    public void deleteRole(System_Role model);

    public List<System_Role> getSystemRoleList();

    public List<System_Role> getUserRoleList(String userId);
}
